﻿using Unity.Entities;
/// <summary>
/// 厂
/// </summary>
public struct BuildingComponent : IComponentData
{
    /// <summary>
    /// 建筑类型枚举
    /// </summary>
    public int type;
    /// <summary>
    /// 建筑唯一Id
    /// </summary>
    public int Id;
    /// <summary>
    /// 产出物
    /// </summary>
    public float output;
    /// <summary>
    /// 产出周期
    /// </summary>
    public float cycle;
    /// <summary>
    /// 计时器
    /// </summary>
    public float timer;
}
